<?php

class Core_Data_SQL_KeyTypes {

    const PRIMARY = 1;

    public static function getQueryText ( $constKeyType, $constServerType ) {

        switch ( $constServerType ) {

            case Core_Data_SQL_ServerTypes::MYSQL:

                switch ( $constKeyType ) {

                    case self::PRIMARY:
                        return "PRIMARY";

                }


        }

    }

    public static function getFromResultText ( $strResultText, $constServerType ) {

        switch ( $constServerType ) {

            case Core_Data_SQL_ServerTypes::MYSQL:

                switch ( $strResultText ) {

                    case "PRI":
                        return self::PRIMARY;

                }


        }

    }

}

?>
